using System;
using System.Windows;
using System.Windows.Browser;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using JustinAngelNet.SilverlightRTL.RTL;

namespace SilverlightRTL.QuickStart
{
    [Scriptable]
    public partial class WithoutRTLExtenderPage : Canvas
    {
        public WithoutRTLExtenderPage()
        {
            this.Loaded += new EventHandler(RTLExtender_Loaded);
        }

        public void btn1_MouseLeftButtonDown(object sender, MouseEventArgs e)
        {
            Timeline1.Stop();
            Timeline1.Begin();
        }


        void RTLExtender_Loaded(object sender, EventArgs e)
        {
            InitializeComponent();

            WebApplication.Current.RegisterScriptableObject("page", this);
        }
        [Scriptable]
        public void SetTextBlockText(string text)
        {
            tbx4.Text = text;
        }

    }
}
